Working refactored OOP checkers.py