Existing code
Merge https://github.com/kaznatcheev/CogSim