Written code to handle Passengers moving on plane.