added initial code for ex11
added solution to exercise 11
Merge pull request #1 from ritesh-pandey/ex11

Added solution to exercise 11