An ant's brain is very minuscule when compared to a chimpanzee, yet it is capable engineering! (Not to mention its ability to support 5,000 times their body weight before losing their heads. http://www.natureworldnews.com/articles/5970/20140210/ants-support-5-000-times-body-weight-before-losing-heads.htm)
Collectively they perform even better! Army ants, for instance, don't let gaps in their path stop them. If they're on one tree and have to get to the next, they simply build a bridge using their own bodies. A small curtain of ants will hang from one tree and wait for the wind to waft it up till the ants at the lower edge can grab the other tree. The others then cross over. Similarly, when fire ants need to cross a body of water, they fashion a raft made with themselves that can not only float but carry up to a million of them on it.
The interesting point is that no individual ant has any idea of what's happening even though, jointly, the thing happens. It works through a process of self-organisation that is not controlled by any subsystem and gives rise to an emergent phenomenon that is of A HIGHER ORDER.--Prov 30:24, 25