exercises from Chapter 3 in BNR ObjC