Count Subarray With Given Xor Leetcode Python Practice