Laser Range Finder Code