FigureEight turn

main code for figure eight turning