refactored the functions to take in objects startPiece and endPiece instead of arrays. made pretty comments and defined execute_checkers function which are the steps of checkers.