public static void RunTen()
            {
                Queue <int> myQueue = new Queue <int>();

                Console.WriteLine("Enter an int to use as n");
                int n = Nine.ReadInt();

                Console.WriteLine("Enter an int to use as max");
                int M = Nine.ReadInt(); //max numbers

                Console.WriteLine("--------------------------");

                myQueue.Enqueue(n);

                for (int i = 0; i < M; i++)
                {
                    int x = myQueue.Dequeue();
                    if (x * 2 < M && myQueue.Count < M)
                    {
                        myQueue.Enqueue(x * 2);
                    }
                    if (x + 2 < M && myQueue.Count < M)
                    {
                        myQueue.Enqueue(x + 2);
                    }
                    if (x + 1 < M && myQueue.Count < M)
                    {
                        myQueue.Enqueue(x + 1);
                    }
                }

                Nine.PrintQueue(myQueue);
            }