A fascinating guide to Scotland’s railways