updated linked list, and addional work done on AVL Tree