public void turn() {
		if(x > goalX && dir != Direction.WEST) {
			this.setDirection(Direction.WEST);
		}else if(x < goalX && dir != Direction.EAST) {
			this.setDirection(Direction.EAST);
		}else if(y > goalY && dir != Direction.NORTH) {
			this.setDirection(Direction.NORTH);
		}else if(y < goalY && dir != Direction.SOUTH) {
			this.setDirection(Direction.SOUTH);
		}
	}