added tainsnst.py file