input: Write a python function to scrape the titles of articles from a given website URL.
  assert scrape_titles('http://example.com') == ['Title 1', 'Title 2', 'Title 3']
  assert scrape_titles('http://anotherexample.com') == ['Another Title 1', 'Another Title 2']
  assert scrape_titles('http://yetanotherexample.com') == ['Yet Another Title 1', 'Yet Another Title 2', 'Yet Another Title 3']
output: def scrape_titles(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      titles = []
      for title_tag in soup.find_all('h2', class_='article-title'):
          titles.append(title_tag.text.strip())
      
      return titles