Added functionality to find a node's value corresponding to a given independet node's value