Assignment 4 for Stanford iOS Course