Create tepig.pl

Added tepig.pl script.