Finished linked list implementation