new solution
changes to k_th_largest