Solve "Unique Paths II"