Logging
Variable debug indicates verbose logging.
Prefix of all log messages must be : [trainnum][ST-ST]
Use println function to produce textual output. Do not use printf or other io functions, because output may not be flushed correctlyThe documentation of the Railway-Project is separated into two parts.