https://medium.com/@ketan_rathod/finding-the-largest-sum-subarray-step-by-step-guide-using-kadanes-algorithm-3493f150c970