First simple implementation of Hopfield network with Hebb learning, but enough flexible to write more training methods