Homework for the iOS Foundations class.