Assignment for Stanford iOS