finish reversi.py