updates insertion sort, adds linked list v arrays