Added save file functionality, which allows for returning to the initial state (0).