Exercise for Stanford's "Developing Apps for iPhone and iPad (2013)" (CS193P)