Few minor changes on the input for turn and setInterval still not working