Updated ex2.
Merge pull request #13 from nearform/compiler

Updated ex2.