Example code from class to use for good programming practice. The code is on factorial in C#