adding pingc2.py and pingc.py