added python version to leetcode_Triangle.java