Implementing Energetically Sustainable Routing Algorithms for Autonomous WSNs