Factorial example

inspired by pyasm