basic algo of merge sort
print linked list
sol of q064