https://slothcoders.blogspot.com/2021/02/digit-frequency-in-c-solution.html