Add method to compute the factorial