Second edition reversi.py