update PatternMatch.scala
add Primitives