Add ex3 and general Makefile