A single layer neural network implementation using hebbian learning to train.