changes to xor assignment

changes to preferredName/xor assignment per suggestions
i think this has already been solved in xor.js i think we want to remove this file