Added factorial example