A ping script in written in python