974. Subarray Sums Divisible by K Python leetcode Solution