Avoiding some reptition by refactoring turnRight and turnLeft