Added ex1 and ex2