Define a new ListNode class
and write a new method on reverse alternate nodes(still need debugging)