Finds a shortest path between start and goal state by rolling a block of dimensions : 1x1x2 on a grid of mxn.