For James Corey, some of the most important lessons he learned at BYU came between late nights and early mornings.