int factorial( int num );