edited

deleted unnecessary code
put in toString
looped makemove()