add kth_element scala