Added a separate Matcher class as in Java, which is created from a Regex for a particular input string. The Matcher then carries out matching via a stepForward() method, which is now used by Regex.test() and Regex.match().