added merge_graph function
errors corrected in the currently empty class HTML doc parser