Initialized problem 3
Finished problem 3.
Started problem 4.
Used recursion for problem 3.