generic linkedlist generation added