Refactoring turn() robot movement