Creatind Plane class. Setting up default state (Flying) when a plane is created.