Added a getName(seed) method which will give the same results for same seed values.
Refactored MarkovGenerator to remove code duplication.