Homework 1 for cs193p (iPhone Development)