Char most times in sequence problem