Add exercise in ch6.
Upgrade Scala to 2.11.0.
Fix non-exhaustive pattern match.
Add exercises in ch6.