find target in 2d array