rank[1][1] is 1 rank[2][1] is 3 rank[3][1] is 2