Fixed so that the solution can generate the number of possible routes for a nxn grid.