input: Write a python function to search for a record in an SQLite database and return the name and age.
  assert search_record('John Doe') == [('John Doe', 30)]  # assuming the database has an entry with name 'John Doe' and age 30
  assert search_record('Jane Doe') == []  # assuming the database has no entry with name 'Jane Doe'
  assert search_record('Alice') == [('Alice', 25)]  # assuming the database has an entry with name 'Alice' and age 25
output: def search_record(name):
      import sqlite3
      conn = sqlite3.connect('database.db')  # Replace 'database.db' with the actual database file
      cursor = conn.cursor()
      
      cursor.execute("SELECT name, age FROM records WHERE name=?", (name,))
      result = cursor.fetchall()
      
      conn.close()
      return result