Adding the old solutions to the problems to the solution.py files.
Adding the old solutions