Distributed Adaptation Over Networks With Applications To Biological Networks