Graph theory things for 18xx games