Railroad gun