[dynamicprogramming] write code for Unique Paths
[dynamicprogramming] write code for Unique Paths II