Majority Element - Leetcode 169 - Python