Added math and DynamicProgramming