Add a project root finding algorithm