Count Subarray With Given Xor Leetcode Python