turned into maven project
Initiated prefixes, source, and suffixes at the start of the program. Added updatePattern method for code readability. Added constructor so updatePattern gets called at instantiation.
Ported unit tests (JUnit) from JS repo.