public void addPieceToBoard(Piece piece, int x, int y)
	{
		Position position = new Position(x, y);
		Square newSquare = new Square(piece, position);
		board.setChessBoardSquare(newSquare, position);
		
		if(piece.getPieceColor().equals(white))
		{
			team.addWhitePieceToTeam(piece, position);
		}
		else
		{
			team.addBlackPieceToTeam(piece, position);
		}
		
		if(piece.getPieceType().equals("k"))
		{
			team.setWhiteKing(piece);
			dummyWhiteKing = piece;
		}
		if(piece.getPieceType().equals("K"))
		{
			team.setBlackKing(piece);
			dummyBlackKing = piece;
		}
		
		pieceAddCount++;
		if(pieceAddCount == pieceEndResult)
		{
			board.printBoard();
			System.out.println();
		}
	}