This function finds the node where a register is located.
posIdNode(tree, idNode)
tree
A list containing EAT nodes.
idNode
Id of a specific node.
Position of the node or -1 if it is not found.