Updated the LargestContinuousSum to return an array.