Update possible_moves() to valid_moves() in all places in engine.py to match new method name