Text this: Boundary Recognition by Simulating a Diffusion Process in Wireless Sensor Networks