Linked list implementation. Not finnished.