two functions to find factorials