public boolean IsPlayersPiece(int pieceX, int pieceY, int playerNum){
		//if the coordinates are not out of bounds of the board and the square chosen is not empty
		if(!IsOutOfBound(pieceX, pieceY) && newBoard[pieceY][pieceX].IsPlayable() && !newBoard[pieceY][pieceX].IsEmpty()){
			if(newBoard[pieceY][pieceX].GetPiecePlayer() == playerNum){	//if the piece chosen to move belongs to the player moving
				return true;
			}
			else{	//if the piece chosen to move does not belong to the player moving
				System.out.print("This piece does not belong to you!\n");
				return false;
			}
		}
		else{	//if the coordinates chosen are out of bounds of the board or the square is empty
			System.out.print("This is not a playable square!\n");
			return false;
		}
	}