How do the structural differences in grasshopper and housefly enable them to exhibit more complex behaior than centipedes and millipedes