routing: basic leach implementation