added simple function to move robot cyclically