Update kth_factorial.py