Add result printing to egen

This result printing should only be for csv output in the future. It is
a placeholder and debugging tool right now.