Implemented simple path finder