filled in all functions in the llppriorityqueue file