Make move_cursor function. Tested with arduino.