Fixed some small errors in xor.py.
Merge branch 'master' into sqlitepad