public void printGrid()
	{
		for (int i = 0; i < grid.length; i++)
		{
			for (int j = 0; j < grid.length; j++)
			{
				if (grid[i][j].getObject() != null)
				{
					System.out.println(grid[i][j].getObject().getStartPos() + ", " + grid[i][j].getObject().getEndPos() + ", " + grid[i][j].getObject());
				}
			}
		}
	}