Added comments, renamed variable leftside to leftcorner, rightside to
rightcorner, and made a stalemate function shorter in chessgame file