Update alg2.h

MIN and MAX both work. Changed to combine the two with only the original sort and print being unique