Update xnor.cpp