input: Write a function to convert a list of lists into a list of dictionaries, where each dictionary represents a book with keys 'title', 'author', and 'pages'.
  assert create_book_dicts([['The Hobbit', 'J.R.R. Tolkien', 295], ['The Catcher in the Rye', 'J.D. Salinger', 214]])==[{'title': 'The Hobbit', 'author': 'J.R.R. Tolkien', 'pages': 295}, {'title': 'The Catcher in the Rye', 'author': 'J.D. Salinger', 'pages': 214}]
  assert create_book_dicts([['1984', 'George Orwell', 328], ['Brave New World', 'Aldous Huxley', 311]])==[{'title': '1984', 'author': 'George Orwell', 'pages': 328}, {'title': 'Brave New World', 'author': 'Aldous Huxley', 'pages': 311}]
  assert create_book_dicts([])==[]
output: def create_book_dicts(books):
      return [{'title': book[0], 'author': book[1], 'pages': book[2]} for book in books]