Max, Min, Positive Sum, Negative Sum

Calculates the max, min, sum of positive nums, and sum of negative nums in a dynamic array