hopfield network example