Bugfix: isomorphism check was not strict enough

Some non-isomorphic graphs were erroneously considered to be isomorphic. It could
happen that two different nodes were not compared as they've already been marked as
visited by some other comparisons. With this commit, nodes are compared with every
visit.
`Node` inherits from `JNAWrapper`, which implements equals and hashCode. I'll change the parameter ordering.