http://www.cs.cornell.edu/Info/Courses/Spring-96/CS100/lecture-programs.html
Lectures 11 & 12 (2/27 & 2/29): Reference Parameters and Craps Game.