Fixed node id assignment

HTML elements are now made with the correct id number
renamed parentNode and siblingNode to parent & sibling
Add counter for capture group
can add to quantified

bug: right now this creates two literal nodes