cocoa app random(cocoa programming for mac os x ch2)