updated dedupe_dbl_linked_list.rb