solution for simon of ex4
Merge pull request #18 from apfelix/master

solution for simon of ex4