Exercise in "Programming in Objective-C"