Added Memento Pattern

Adds Implementation of Memento Pattern.