Adding solution to Task 4 (tic tac toe board)