added ex2
Merge pull request #16 from bzfhoppm/master

added ex2