Created unified algorithms lib
Added more algorithms
Added more algorithms
Fixed BaseAlgorithm bug
Flush stdout buffer in stortidx