make two_sum generic for any Num type