added examples
changed Makefile to use example.cpp instead of main.cpp