modified examples to run with scala 2.10

I changed the examples to run with scala 2.10 - was set to 2.8.
Example can be run as per the readme.