undid componentContains modification
added Neighbors graph node function and test