Added dynamic programming solution and run script