Explain bogo's design in HACKING.md
Add reference implementation in Python