A programming homework assignment for a job I applied for.