Data-Driven Approach using Machine Learning for Real-Time Flight Path Optimization