Design and Simulation of Four-stroke Engines