input: Write a python function to scrape the first 100 article titles from a given webpage URL using BeautifulSoup.
  assert scrape_titles("http://example.com/news") == ["Title 1", "Title 2", "Title 3", ..., "Title 100"]
  assert scrape_titles("http://anotherexample.com/articles") == ["Article 1", "Article 2", "Article 3", ..., "Article 100"]
  assert scrape_titles("http://yetanotherexample.com/stories") == ["Story 1", "Story 2", "Story 3", ..., "Story 100"]
output: def scrape_titles(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      titles = []
      for title in soup.find_all('h2', limit=100):
          titles.append(title.get_text())
      
      return titles