Python solution for Leetcode