merge sorted list time:O(N+M) space:O(1)