Stanford iOS development class. Assignment IV.