creating neural network for xor problem