the second assignment of Stanford class "Developing iOS 7 Apps"