Re-add minimax for lists