added python solution for problem 2