Start with script from Adafruit DS18B20 tutorial: http://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing
Modify to work with unlimited DS18B20 sensors.