added main functions in pim.js
init running, testing
added some quantifier logic, working through structure behind it
added more test cases comments
added comments to test cases, added lcs algo