Problem: Capturing and Restoring State - Memento Pattern: State Preservation and Recovery | OneNoughtOne