public Position getNodeAhead(Position position, int angle){
		Position _pos = null;
		if(angle >= 360){
			angle -= 360;
		}
		if(angle < 0){
			angle += 360;
		}
		switch(angle){
			case 0:
				_pos = new Position(position.getX(), position.getY() - 1);
				break;
			case 90:
				 _pos = new Position(position.getX() + 1, position.getY());
				break;
			case 180:
				_pos = new Position(position.getX(), position.getY() + 1);
				break;
			case 270:
				_pos = new Position(position.getX() - 1, position.getY());
				break;	
		}
		return _pos;
	}