A Tic Tac Toe server in Scala