Demonstration of Memento Pattern