Added codegen.ml.

Created codegen.ml file