Third Max Number Leetcode Python Practice