A tic-tac-toe AI built on the negamax algorithm and with a UI