fixed copyright notice, added XOR demo