Intelligent Routing to Optimize Energy Consumption in Wireless Sensor Networks: A Distributed Approach with Reinforcement Learning | Synapse