add function testing the sorted order of linked list
refactor code
add extreme test case
change mergeTwoLists from recusive to iterative manner