Programming exercise for iOS internship