Read parameters from a YAML file for training an ANN also

Added a data folder to the examples folder with training and test data.