took out inifinite loop in the take turn method