linked list working a bit. Need to add tail