added toString() for ListNode