A spiking neural net simulator incorporating an idea of plasticity written in C++