Update chess.cpp