Write a function called fact that recursively calculates the factorial value of its single int parameter.