Given a nested list of integers, where each element is either an integer or another nested list, return the sum of all integers multiplied by their depth. The outermost list's elements have depth 1, and each nested list increases the depth by 1. Implement def depth_sum(nested_list):, returning an integer for a list containing integers and arbitrarily nested lists.
def depth_sum(nested_list):