A programming homework assignment for a job i was trying to get.