Problem 67: Maximum path sum II