Update last_kth_element.c