Created the move function for the Robot class and moved all movement releated code to run from .move()