A much simpler Python-based Moore graph filter.
A tiny little additional layer of abstraction.