public static void setPieceOnBoard(char theCharacter, Point location, Board newBoard)
	{
		theCharacter-=baseValue;//get rid of the base value
		boolean isWhite = theCharacter/blackValue==0;//figure out whether it is black or not
		
		char type = (char) (theCharacter%6);//find what type of piece it is
		if(type==kingValue)
		{
			King theKing = new King(isWhite,location,newBoard);
			newBoard.setPiece(theKing);
			if(isWhite)
			{
				newBoard.setWhiteKing(theKing);
			}else
			{
				newBoard.setBlackKing(theKing);
			}
		}else if(type==queenValue)
		{
			Piece theQueen=new Queen(isWhite,location,newBoard);
			newBoard.setPiece(theQueen);
		}
		else if(type ==bishopValue)
		{
			Piece theBishop=new Bishop(isWhite,location,newBoard);
			newBoard.setPiece(theBishop);
		}
		else if(type ==rookValue)
		{
			Piece theRook = new Rook(isWhite,location,newBoard);
			newBoard.setPiece(theRook);
		}
		else if(type==knightValue)
		{
			Piece theKnight = new Knight(isWhite,location,newBoard);
			newBoard.setPiece(theKnight);
		}else if(type==pawnValue)
		{
			Piece thePawn = new Pawn(isWhite,location,newBoard);
			newBoard.setPiece(thePawn);
		}
	}