public void SetAveragePersonsWaitTime(Bus currentBus)
    {
        /*
         * Get the bus arrival time, for each person 
         * (Bus 'firstTicks' - passenger 'firstTicks'), sum all difference,
         * and find the average
         */
        //holds total wait times of persons
        int totalPassengerWaitTimes = 0;
        //get the bus stop iterator
        Iterator iter = busStop.iterator();
        //iterate the bus stop
        while(iter.hasNext())
        {
            //get the person
            Person per = ((Person)iter.next());
            
            //sum up each person wait time
            totalPassengerWaitTimes += 
                    (currentBus.GetFirstTicks()-per.GetFirstTicks());
//System.out.println("Bus firstTick: "+currentBus.GetFirstTicks()+", Person firstTick: "+per.GetFirstTicks());
        }
        
        if(Count()>0)
        {
            //get the average of wait times
            int tmpAverage = (totalPassengerWaitTimes / Count());

            if(averagePersonsWaitTime != 0)
            {
                //accumulate the old and new averages and find the average
                averagePersonsWaitTime = 
                        (averagePersonsWaitTime + tmpAverage)/2;
            }
            else
            {
                //first average generated
                averagePersonsWaitTime = tmpAverage;
            }
        
//System.out.println("Average person wait time: "+averagePersonsWaitTime);
        }
    }