Amended Solitaire cipher

Added examples of unit tests, and more generic ways of writning methods.