added a wall nodes around free node based on sensor readings