2-stroke engine with swinging piston