Solved Unique Path with Obstacle problem with DP method