Leetcode Range Sum Query Leetcode Python Beginner