Adding solution to problem 1.
Adding solution to problem 2 to repo.
Adding problem 3 solution to repo.