added solution files for ex1 and ex2