Create kth_factorial.py