The Mt. Washington Cog Railway, the world’s first such tourist attraction, was built by a man who almost died while hiking to the summit, New Hampshire