updated doc/factorial.rst syntax