Selection sort in C

I put together this version of selection sort in C code to aid writing the y86 code