fixed recursion code for problem 3
added problem 0004