added wait and notify
Merge branch 'master' of https://github.com/marteb/viergewinnt