Added FindKthElement to KKQueue template