Display cost matrix indices in the example