A toy robot simulation