Simple tic tac toe game in Swift