finished SingleLayerArtificialNeuronalNetwork for testing