Collision Observation-based Optimization of Low-power and Lossy IoT Network using Reinforcement Learning