added a solution to the reordering of a linked list problem