checkTrainAndStationStatus method implemented