Complexer example of how to use the code generator libt2n-codegen. This example is also used for automatic testing.