Definition of a Chess game class, and additional functionalities to restore moves