Slime molds carefully spread their tendrils between morsels of food. This skill can apply to making efficient public transportation networks—a problem computer scientists say is incredibly complex