Pregunta de entrevista de Morgan Stanley

Scala exercises, pattern matching, case classes