nodeType split in two different functions

nodeType now takes a Node as argument, and findNodeType an ID.
matchRemNodes and findMatches

implemented the rest of functions necessary to do a complete graph
matching. The functions are partially documented, will work on that.
Added isolated nodes to test.