implemented basic linked list - add and insert