Fixed regex bug.  Updated the readme.md.
Improved algorithm (and unfortunately reduced the efficiency to a worst
case scenario).
Added unit tests.
Added comments.
Merged some updates from master to develop.
Moved unit tests to the right location so it works with mvn command line.
Added junit to pom for mvn command line unit testing.