factorial of a value (UPDATED) v2 | ScratchStats