Add an example of an abstract base class with case subclasses in Scala.

Case classes in Scala go hand-in-hand with pattern matching, a topic
we're going to cover shortly.