input: Write a python function to create an instance of the Book class and test the attributes.
  assert create_book("1984", "George Orwell", 1949).title == "1984"
  assert create_book("1984", "George Orwell", 1949).author == "George Orwell"
  assert create_book("1984", "George Orwell", 1949).year == 1949
output: class Book:
      def __init__(self, title, author, year):
          self.title = title
          self.author = author
          self.year = year
  
  def create_book(title, author, year):
      return Book(title, author, year)