needed methods added to Match and TPEStack; PatternNode.java create