added implementations for selection and insertion sort