Unique Paths (version 2: Dynamic Programming version).