added data getter for linked list data structure: data() which returns void * and takes a list