added GameLogic

GameLogic class implemented
Merge branch 'Main' of https://github.com/maxponomarov/TicTacToe into Main