Code extended for givenNumber of 3000 digits with number file holding 1000 factorial