ex1 completed but not tested, ex2 not finished
Merge branch 'master' of https://github.com/seitza/tdcv13
complete but wrong