add original numfig.py
add original numfig.py