Removing some bugs
Testing xor function