considered the case when Xor has same symbol returned false
used multiset so that for odd number of x it will give x and for even no of x false
testcases added and code refined according to PEP8
trailing space removed
Merge pull request #2945 from zeel/zeel

considered the case when Xor has same symbol returned false