updated doc/factorial.rst