Update example to Scala 2.10.
Merge pull request #1 from FranklinChen/master

Update example to Scala 2.10