Added logging to ReactiveSystem

The logging functionality is very basic: Just a function
from String to IO[Unit], so there is no distinction of logging levels.