Improve time measurements, add Makefile and correct floyd_warshall return typre.