Improved Genetic Algorithm for Dynamic Path Planning