Implemented find_nth_smallest()