Added PatternMatch: Scala-like pattern matching