Add statement to problem 35
Add some tests to problem 35
Add solution to problem 35 based on an iterative and recursive approach