Add ExpressionProblem example in scala and pattern matching