Code exercise for hipmunk.