Added Makefile and made it compile without errors or warnings