Wireless Sensor Network using EAs