Add the final exercises from the Scala chapter.