Added new functions to retrieve a reference to the first element with a given value and to retrieve an array with pointers to all the elements of the list.