Implementation of the game of checkers in python