implement selectable ordering of the training data and make the net more
powerful by enabling the MLP to be configured as a 3-, 4- or 5-layer MLP with a specified number of neurons in
each layer and to use the MLP to classify all the given data. You are to also provide a test function so that the MLP
can learn training data and be tested with different test data.