Added method Calculator.fac() (including test)