Maximum Subarray Problem Python Tutorial