A simple perfect AI for Tic Tac Toe