Leetcode 410 Split Array Python Initialize Empty List