Added Sensor Class that generates random numbers.