Divide all occurrences into two halves . Note that odd character is removed by findOddAndRemoveItsFreq ( )
for j in range ( 1 , int ( freq [ i ] / 2 ) + 1 ) : NEW_LINE INDENT temp += ch ; NEW_LINE DEDENT