allows more than 2 SNPs and multiple bugs fixed

bugs fixed: printing end part twice, combining similar consecutive
patterns into one, errors finding SNPs and others