Stanford CS193P assignment for iOS 7.0 project