static void RunEx1()
        {
            Console.WriteLine("####  EXERCISE 1  ####");

            Ex1.Simple();

            Ex1.Swap();

            Ex1.Semaphores();
        }
        public static void Semaphores()
        {
            Console.WriteLine("3.");

            Ex1.ResetIToFive();

            Thread T1 = new Thread(new ThreadStart(Ex1.IncrementSemaphores));
            Thread T2 = new Thread(new ThreadStart(Ex1.DecrementSemaphores));

            T1.Start();
            T2.Start();
            T1.Join();
            T2.Join();

            Console.WriteLine($"i = {I}\n");
        }