2 way linked list development