The next 3 lines shows where to step . = rock not to step on
| . . . 5 6 7 .
| . 3 4 . 8 .
| 1 2 . . 9 10 -> just walk off from #10