Implementation of CS193P iPhone application development Winter 2013 Assignment 1