make linked list double sided