Title: Nation-Building Modeling and Resource Allocation Via Dynamic Programming