possibleMovesByNumber function developed although it has problems with completed routes of the same length.