public String toString()
	{
		StringBuilder b = new StringBuilder();
		for(int j = 0 ; j < 8 ;j++)
		{
			for(int i = 0 ;i<8;i++)
			{
				Piece p =theGrid[i][j];
				if(p!=null)
				{
					b.append(p.toString());
				}
				else
				{
					b.append(" ");
				}
				
			}
			//b.append("\n");
		}
		return b.toString();
	}