boolean setPosition(Position p) {
		if (p.x >= Map.grid.length || p.y >= Map.grid.length || p.x < 0
				|| p.y < 0)
			return false;
		else if (Map.grid[p.x][p.y] == Color.BLUE) {
			System.out
					.println("Your just drowned... Bottom line, you have to start from the beginning\n");
			Position newP = new Position(start_pos.x, start_pos.y);
			position = newP;
			reset = true;
			return true;
		} else if (Map.grid[p.x][p.y] == Color.YELLOW) {
			System.out.println("You have reached the promised land !\n");
			reached_end = true;
			return true;
		} else {
			position = p;
			return true;
		}
	}