(define (test x n)
  (define (hulp a)
    (if (= a 0) 
        acc 
        (hulp (- a 1) (* acc (fac n)))))
  (hulp x))