added a crude DOM-based parser

adds a crude dom parser and an example for a wrapping of H1 tags. Needs more instructions for other tag types and probably could be optimized for speed. But it works...