add reverse linklist code