Chernoff Bound via Moment Generating Functions