Added some tests and passing implementation for tic tac toe