fixed the isbst wrong answer, add the pathsum function.