added selection and insertion sort