Added the function increaseNumberOfCapturedPieces to Player and modified main class(Checkers) to reflect the change