Uniform Character Frequency - Coding problem | OneNoughtOne