Added factorial

Does this work?