They might look like they wander aimlessly from flower to flower, but bumblebees actually solve a complex mathematical problem to find the shortest possible route between sources of food.