Update patternMatching.scala