Add exercises in ch12.
Upgrade Scala and SBT.