Machine learning of xor problem