Revised DOM parser
Almost done with DOM parser
fix
Finished implementing DOM parser
small fix
Fixed an error when handling loops.
Updated tests with SchoolMate