Add XOR.js

Worked in practice. Got the values that I'm looking for. Was wondering if it can be cleaned up at all though.