add selection and insertion sort implementations