fixed the delay function within void mostPop() to properly dislay the third value