Supervised Neural Network Classification Algorithm