Created own function to generate the HTML of the bahntabelle.