initial push

the algorithm shizwhiz, placed in testjs.js  plus everything else.