updated examples and the README file.
lots of work on first class functions
removed tracing