x,y assignment now on one line
Refactored out the case statement for the Robot#move method