add cmdline parsing; make it easier to compare algos