Add factorial example.