Remove duplicate elements from LinkedList

Signed-off-by: Lokesh Gyanchandani <lokesh.sgc@gmail.com>