Small revisions to the xor

Mostly fixing linebreaks and making comments clearer, but I did fix a
problem with line 15.