Objective-C assignment for James Cook University