Added compatibility for non-C++11. Constructed XOR example.

I've overloaded multiple methods and constructors in order to support
those troubled by lack of C++11 support (initializer lists,
particularly). Users can now construct objects and add data via array
or vector.

Built a simple XOR example while testing; it's a fitting intro to the
multi-layered perceptron as well.