Factorial Function In Python Using Software Circuit