Update chess.py

corrected syntax error.