Homework for my Mobile Dev HQ interview.