Added a solution for problem 11
Added docstring for Problem 11