Creating a map of which train door to enter to have the quickest exit.