A tic tac toe program written in Scala