DPDemo Some demo code showing how a Dynamic Programming optimzation can work better than a brute-force method in determining best path.