Added insertion sort, also added a rule in Makefile.am for tests which rebuilds all tests if lib is updated.