Associative neural network