calculate that takes the current index, the running sum, and the target sum as arguments.calculate with the next index and the running sum plus the current number to explore the '+' option.calculate with the next index and the running sum minus the current number to explore the '-' option.calculate starting with index 0 and a running sum of 0.