public void loadBoard()
	{
		ArrayList<Piece> p1Pieces = new ArrayList<Piece>();
		ArrayList<Piece> p2Pieces = new ArrayList<Piece>();
		
		try
		{
			for(int i = 0; i < 8; i ++)
			{
				p1Pieces.add(new Pawn(Loyalty.RED));
			}
			p1Pieces.add(new Rook(Loyalty.RED));
			p1Pieces.add(new Knight(Loyalty.RED));
			p1Pieces.add(new Bishop(Loyalty.RED));
			p1Pieces.add(new King(Loyalty.RED));
			p1Pieces.add(new Queen(Loyalty.RED));
			p1Pieces.add(new Bishop(Loyalty.RED));
			p1Pieces.add(new Knight(Loyalty.RED));
			p1Pieces.add(new Rook(Loyalty.RED));
	
			for(int i = 0; i < 8; i ++)
			{
				p2Pieces.add(new Pawn(Loyalty.BLACK));
			}
			p2Pieces.add(new Rook(Loyalty.BLACK));
			p2Pieces.add(new Knight(Loyalty.BLACK));
			p2Pieces.add(new Bishop(Loyalty.BLACK));
			p2Pieces.add(new King(Loyalty.BLACK));
			p2Pieces.add(new Queen(Loyalty.BLACK));
			p2Pieces.add(new Bishop(Loyalty.BLACK));
			p2Pieces.add(new Knight(Loyalty.BLACK));
			p2Pieces.add(new Rook(Loyalty.BLACK));
		}
		catch(IOException e)
		{
			
		}
		
		int p1PiecesLeft = p1Pieces.size();
		int p2PiecesLeft = p2Pieces.size();
		
		for(int i = 0; i < getGrid().length; i ++)
		{
			for(int j = 0; j < getGrid()[0].length; j ++)
			{	
				if(p1PiecesLeft > 0)
				{
					put(p1Pieces.get(p1PiecesLeft - 1), getGrid()[i][j].getLoc());
				}
						
				p1PiecesLeft --;
			}
		}
		
		for(int i = getGrid().length - 1; i >= 0; i --)
		{
			for(int j = 0; j < getGrid()[0].length; j ++)
			{	
				if(p2PiecesLeft > 0)
				{
					put(p2Pieces.get(p2PiecesLeft - 1), getGrid()[i][j].getLoc());
				}
						
				p2PiecesLeft --;
			}
		}
	}