adds takeTurn() function, makes game playable using Alerts. Still infinite loop with Click