Update xor.py
refactored the code and bug fixed
refactored the code
fixed bugged code
Merge pull request #5 from PsychoCoderHC/master

Update xor.py