Implemented residue inter-chain graphs
added also some tests for node classes