reverse linked list, insert_front, insert_back APIs