Added logic to fill mostFrequentNumbers array with references to the face values that occurred most frequently.