int valueOf(char *name, NodeT *list)
that returns the value associated with name in list.
name
list
If the name does not appear in the list, return -1.