Added makefile and adjusted main.cpp (still has compilation errors)