Hopfield nets from scratch

Trying to understand this concept