added some sorting algorithms