added a few comments into chess logic