iOS homework assignment 1