added python solution for 12-16-13 easy tree generation