I\'m have a fairly complicated (to me) algorithm that I\'m trying to write. The idea is to determine which elements in an array are the first ones to sum up to a value that fal