homework for objective-c & mac development course (stanford)