Artificial neural network in the form of the hopfield network