In-class assignment for the IB Computer Science course at the Koc School.