modified examples to run with scala 2.10
Merge pull request #1 from biomunky/trunk

modified examples to run with scala 2.10