diff --git a/WhiteRabbit/Program.cs b/WhiteRabbit/Program.cs index 3886a0b..e8a378c 100644 --- a/WhiteRabbit/Program.cs +++ b/WhiteRabbit/Program.cs @@ -17,9 +17,17 @@ public static void Main() { var processor = new Processor("poultry outwits ants", 3); + var results = new List(); foreach (var phrase in processor.GeneratePhrases(ReadInput())) { + var hash = GetMd5Hash(phrase); Console.WriteLine(GetMd5Hash(phrase) + ": " + phrase); + results.Add(phrase + ": " + hash); + } + + foreach (var result in results.OrderBy(line => line)) + { + Console.WriteLine(result); } }