The Railroad Problem by Hungerford, Edward
 is a Project Gutenberg book, now on Github.