add FindMinPath class