Added variables to regulate itterations in turning and changed what code in the mainloop is active so that it will navigate