5 new algorithms, sorting with duplicate values works, few bug fixed