Implementation of 6 sorting algorithms