Create ping.py

Catches the ping from the ultrasonic sensor.