Dodano TemplateFactorial

Signed-off-by: mateusz <kontakt@mateuszmidor.com>