dynamic programming: edit distance; change makefile of dijkstra, add dependancy