Project Euler #67: Maximum path sum II