work on the dom-tree build fn and stringify fn
rename parser.js to dom-tree.js
add unit test