Andre- Formalizing econ plan from Plan for economics on the dropbox. Plan for tests and the general recursive function in pseudo code