implement adder for nested lists