public static void Main()
        {
            RepeatCounter Words123 = new RepeatCounter();

            Console.WriteLine("Please enter a sentence.");
            string UserPhrase = Console.ReadLine();

            Console.WriteLine("Please enter a word the check the previous sentence with.");
            string UserWord = Console.ReadLine();

            while (UserWord.Contains(" "))
            {
                Console.WriteLine("Please enter a single word.");
                UserWord = Console.ReadLine();
            }
            int CountWords = Words123.wordCounter(UserPhrase, UserWord);

            Console.WriteLine(UserWord + " appears in (" + UserPhrase + ") " + CountWords + " times.");
        }