Maximum Repeating Number Leetcode Python Beginner