simulation of robot movement