Create factorial script defined on page 3.
Check for negative argument to factorial function.