input: Write a function that takes a list of books represented as lists where each inner list contains a title, an author, and the number of pages and returns a list of dictionaries where each dictionary contains the corresponding title, author, and number of pages. Each dictionary should have the keys 'title', 'author', and 'pages'.
  
  assert create_books_list([['The Hobbit', 'J.R.R. Tolkien', 295], ['The Catcher in the Rye', 'J.D. Salinger', 223]]) == [
      {'title': 'The Hobbit', 'author': 'J.R.R. Tolkien', 'pages': 295},
      {'title': 'The Catcher in the Rye', 'author': 'J.D. Salinger', 'pages': 223}
  ]
  assert create_books_list([]) == []
  assert create_books_list([['1984', 'George Orwell', 328]]) == [{'title': '1984', 'author': 'George Orwell', 'pages': 328}]
output: def create_books_list(books):
      return [{'title': book[0], 'author': book[1], 'pages': book[2]} for book in books]