Java app which moves a robot on a table using commands