write print_mul_table function

This function uses for writing multiplication table.