neural network library (C++17) for myself memo synapse::update_weight is for implementing Hebb rules.