Management of City Traffic, Using Wireless Sensor Networks with Dynamic Model