adding makefile so g++ users dont need to type out the compile line repeatedly