add star * path finder
remove pg option
only calculate map once
fix file encoding
fix segmentation fault
Merge pull request #39 from adrianob/path_finder

Path finder