Canva Interview Question

Implement Tic tac toe logic