add path sum solution