title: Given an array of numbers, find a number to start with such that the sum is never negative
body: <p>Given an array of integers, find the smallest number X to start with, such that adding elements of array to X, the sum is always greater than 0</p>
  
  <p>If given array is {-2, 3, 1, -5}
  For example, in the above array, X should be 4</p>
  
  <p>Explanation:
  If, we start with 4, then adding first number -2, array sum becomes 4 + (-2) = 2 (which is >0)
  Now adding next element 3 to current sum which is 2, 2+ 3 = 5 (which is >0)
  Adding next element 1 to new sum 5 gives, 5 + 1 = 6 (which is >0)
  Adding last element -5 to new sum 6 gives 6 + (-5) = 1, which is again greater than zero.</p>
  
  <p>Given an array of integers, How can I find the smallest number X?</p>