Made a makefile and got code to compile