symmetric version: called Hopfield Net
if y <-- minus y, energy won't change!
the second last line's first "-" is not the minus sign
https://zhuanlan.zhihu.com/p/21539285