implement recursive square_matrix_multiply example