More fixes for the minimax method, still hits an exception. Currently tries to call checkLine() to somewhere off the board.