MBTA HW

Most of this program ran smoothly. The hash holding a hash with arrays works well for listing out the stations you're moving through. It lists the stations correctly regardless of which way you're riding, as long as you're on the same line. It also functions if you leave and arrive at the same station. You can add new lines or stations or switch the intersection station with no problems.

I couldn't see if my solution to the intersection problem worked because I couldn't figure out the bug at the end, which asks for an "end." I went through the if statements and while loops and I think they're all closed. It still gave this error when "end" was on the erroring out line.

Also- I realized at 11:30 that I misunderstood the initial assignment. It seems I was supposed to calculate the number of stops, rather than listing out each of their names along the track, which is what my program does...