add default constructor for Sensor
add constructor with default interval to DigitalSensor
create array of Sensors by size