find the index of a row by value in 2 dimensional array