Fix error on compilation.
Create Makefile and move files out of ex1/