copy data from foo to foo_imp in banmi.c
Include number of unique modes in program output