progress on background and dynamic programming section under optimization algorithms. source code for dynamic programming implementation included in appendix A.