adjacency checking implemented
Merge pull request #1 from Sloth6/adjacency

adjacency checking implemented