Adding another solution to Factorial in Python

This is another implementation of the algorithm.