Used endl instead of specifying end of line characters
Created stripSpaces() and put it to use
Added decoders for percent & percent_centred. Tweaked all decoders