Various sorting algorithms made for Programming 2