Insert and Selection Sort in C