This is a simple engine that goes both ways. To change the direction, activate the sticky piston. You then move to the other side and activate the normal piston to move forward. If you want to go backwards, activate the sticky piston, then go to the the other side and activate the normal pistons. Sticky pistons change the direction, normal piston push in the right direction.
Thanks for watching and i hope you enjoy!