Added makefile and made it compile