Write this program while studying Cocoa