problem82: path sum: 3 ways