Simulator for Wireless Sensor Network