This small script is meant for printing timetables from row data. example can be seen in data.txt
Timetable creation from text dump