Time complexity of addition. Auxiliary space: O(n x m).