added python solution for problem 2
fixed problem 1 test template
fixed problem 3 test template