Assignment 2 for Stanford iPhone Development Course