added solution files of ex1 and ex2