public static String printGrid(Tile[][] grid)
	{
		String rez = "";
		for (int i = 0; i < grid.length; i++)
		{
			for (int j = 0; j < grid[i].length; j++)
			{
				if(grid[i][j].getObject() == null && grid[i][j].available)
				{
					rez = rez + "1"; 
				}
				else
				{
					rez = rez + "0";
				}
			}
			rez = rez + "\n";
		}
		return rez;
	}