Distributed Encoding Algorithm for Source Localization in Sensor Networks. (26th September 2010)