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