factorial

two ways