printMaximumOccurringCharacter