Next Greater Integer Leetcode Python Coding