Finished insertion sort method and squashed bugs in durcheck.sh