Harvard CS50 Shuttle Game pset solution (taken from The Nifty Assignments session at the annual SIGCSE meeting).