Distinct Values in linked list

done;