Fast Associative Memory to add to Neural Nets

You could try with this type of associative memory to provided a controller neural network an external memory bank, like for example, Neural Turing Machines:
Mouse Click to select.
Press 1 to start and stop training.
Press 0 to start again.
Edit:
https://editor.p5js.org/seanhaddps/sketches/N2ZssccE3
View:
https://preview.p5js.org/seanhaddps/present/N2ZssccE3

There is a little discussion here: