insertsort: close open file before exiting
makefile: add a make all target
lib: add support to timestamp code
insertsort: add support for timestamping
lib: make printarray a debug-only feature