Added linkedlist and modified trees