How an aircraft piston engine works