Efficient Water Detection and Management in Oil & Gas Exploration Using IoT and Artificial Intelligence