Rewrite `main/1` into `main/2` to take advantage of Prolog first-argument indexing
Rewrite `main/1` into `main/2` to take advantage of Prolog first-argument indexing

pmoura/marelle,rfnash/marelle,larsyencken/marelle