halloween-party
maximizing xor
refactor using combinations