add sums of lines of baseof9 calculating program

this program is based on baseof9_index.c