add executables for the factorial example