A toy robot simulator for a ruby challange