Added linked list implementation