public void Initialize(Algorithm algo)
        {
            int count = 0;
            // Process Values

            Process pp1 = new Process();

            pp1.ProcessId    = 1;
            pp1.InitialValue = p1;
            pp1.Balance      = p1;
            pp1.ColorCode    = ConsoleColor.White;

            Process pp2 = new Process();

            pp2.ProcessId    = 2;
            pp2.InitialValue = p2;
            pp2.Balance      = p2;
            pp2.ColorCode    = ConsoleColor.White;

            algo.Processes.Add(pp1);
            algo.Processes.Add(pp2);


            algo.totalTimeSlots       = totaltime;
            algo.RedInitiatorPId      = redprocessid;
            algo.RedInitiatorTimeSlot = redtime;

            algo.InitializeChannels(MessageToSend.ToList <Message>());
        }