* Update package.json with homepage and repository URL. Add devDependencies. Add test script
* Fix searchNFA to not miss states (use 2 queues instead of 1 to fix this)
* Add failing test to check the above error (testPrefixRE) and make it pass.
[1] Add test case to detect exponential behaviour (which shouldn't happen), and [2] Fix bug which was causing nodes to be visited multiple times when reseting the node.index member variable.