http://www.nxcoding.com/archives/leetcode-daily-1863-sum-of-all-subset-xor-totals