cleaned up reversi.py