the tic tac toe game script with some unit tests added ^^