fn extract_code_block(response string, identifier string, language string) string
Helper function to extract code blocks from the response