Mark Williams discovers how a curious engine used to transport slate down the Welsh mountains inspired an amazing railway through the Rocky Mountains.