Python version of cognitive architecture MicroPsi