Stanford IOS programming class lecture #2 homework