static void Main(string[] args) { Configure(); var matrix = GetMatrix(); var wordStream = GetWordStream(); var topWords = new WordFinder(matrix).Find(wordStream); topWords.ToList().ForEach(x => Console.WriteLine(x)); Console.ReadLine(); }