Leetcode of my own. (Python)