implemented very simple turn system using a global variable and setup the board as per the rules