Cleaning up xor.java