added insert to linked lists