public static boolean insideBounds(Tile[][] grid, Point start, Point end)
	{
		return (start.x < grid.length && start.y < grid[start.x].length
				&& end.x < grid.length && end.y < grid[end.x].length);
	}