DOM Diff Algorithm Practice

It is currently built on a simple Element replacement code. Attribute-by-attribute updates will be implemented instead of replacement, except where required.