Add unoptimized minimax algorithm