added function to find path with certain length.
performance is good
Merge pull request #4 from HaoranHuang/develop

added function that can find find path with certain length.