add baseof9.index making program

Actually, I could use baseof9.c to make baseof9.index