maxOccurDigit returns the digit that occur the most in an integer
GNU General Public License v3.0GPL-3.0