Maximum Average Subarray I Leetcode Problems Python