updated readme factorial example