Made the XOR test more explicit by assuming the conversion from decimal values to boolean values into the network itself.