DS18B20 temperature sensor problem

Have you tried the - MilesBurton.com - ?
It contains some example code to run with multiple sensors.

in your code there is no check for a 'failed' read ...