removed break from linked_list function print_kth_from_nth, since returning i.val breaks out.