Implemented minmaxing AI.  Currently unusably slow for >3x3 boards.