Added base code for reversible linked list