Adaption of ruby code in armchair economist
Had to rearrange type declarations

Since Julia does not allow forward declarations of types we had to
arrange the type declarations the way you often do in C with all structures in on header file. Market and Producer are dependent on each other but only in
the function declarations.
Fixed a number of defects