Added the GetNodesWithPossibleParents() method

Added the GetNodesWithPossibleParents() method