Find Best Match Using Bitwise XOR