some sorting algorithms, obj-c project, algorithms implemented in c