Update SensorBrain.java

Added a constructor with Dispatcher agent parameter