added ability to save and load game to/from file