FigureEight turn V2.0

main code for Figure eight turning