I am trying to find the smallest kth value for an array. I used a priorityQueue data structure to remove values that are greater than k, but I am returning an incorrect re