turning in xor.js assignment