main function for the srf08 ultrasonic sensor application