implement insertion and selection sort along with system time calculations for data collection