How do I get an array value inside a list? I have a prioirty queue and I converted into a list but I am having trouble getting the array values inside the list.