fixed some code examples.\n Changed makefile