added a function, void compare_elements(int *in, int size), modifed the test function
fixed the functionality of these two selection sort