Fixed known issues with Algorithm 2, numberlink solver,