an (unfinshed, work-in-progress) implementation of a MADFA in Go