Added functionality to the ChessGUI