bak-sneppen-model.py

https://github.com/marimo-team/gallery-examples/blob/main/notebooks/math/bak-sneppen-model.py