Added the solution for problem 2
Added the solutions for problem 3
Added the solutions for problem 4
Updated the gitignore, I have a feeling I will be doing a lot of this