A toy robot simulator (OO code demonstration)