fixed memory leaks
Merge branch 'master' of https://github.com/cripplet/floyd-warshall