Maximum Subarray Problem Python Compiler W3schools