Hopfield Neural Network Coded by Matlab