add the new autoWithTurn.c