negative is important in minimax
basic, unoptimized, perfect tic-tac-toe player written