added solution for ex5
Merge pull request #35 from clauslang/master

added solution for ex5