Homework for an iOS class.