An exercise from the Big Nerd Ranch's guide to Objective-C