Nature Inspired Computing for Wireless Sensor Networks