public boolean MovePiece (int oldX, int oldY, int newX, int newY){
		
		if (IsOutOfBound(newX, newY)){	//if the first coordinates are out of bounds of the board return false
			System.out.println("Invalid Move!");
			return false;
		}
		else if (newBoard[oldY][oldX].IsAvail()){	//if the old coordinates point to an empty square on the board return false
			System.out.print("That space is not playable!\n");
			return false;
		}
		
		else if (CanMove(oldX, oldY, newX, newY)){	//pass both sets of coordinates to the CanMove method for validity of the move according to the rules
			
			newBoard[newY][newX].SetPiece(newBoard[oldY][oldX].GetPiece());	//point the square at the second set of coordinates to the piece
			newBoard[oldY][oldX].SetEmpty();	//empty the original position of the piece
			newBoard[newY][newX].CanMakeKing();	//check if the move causes the piece to become a king
			return true;
		}
		else{	// cause any other possibilities to return a false
			System.out.println("Invalid Move!");
			return false;
		}
	}