Shortest Path in a Hidden Grid