When engineers are planning a railway, right from the start they're thinking of ways to make sure trains can run as smoothly and quickly as possible. It's better if the track is laid as straight as possible, because the fastest way between two places is a straight line…