Dynamic Programming and Obstacle Avoidance Dynamic Programming and Obstacle Avoidance of a Mobile Robot