Printing the training data for the XOR example, added more iterations for training.
Increased the size of the hiden layer. It does not help.
Removing unused packages.