Java's code resolves subgraph isomorphism problem, using JUNG.