tidy - made example.cpp and linked in makefile