Convert python/singly_linked_list_remove_duplicates to multi-language