fix few bugs
Merge branch 'master' of https://github.com/AndrewNepogoda/Find_min_path