Split Array Largest Sum Leetcode Python Beginner