Cses Problem Set Maximum Subarray Sum