Integer Class Method calculate factorial