input: Write a python function to tokenize and pad a given text using TensorFlow's Tokenizer.
  assert tokenize_and_pad("I am so excited to work on this project", num_words=1000, maxlen=5) == [[2, 3, 4, 5, 6]]
  assert tokenize_and_pad("This is a test", num_words=1000, maxlen=5) == [[2, 3, 4, 0, 0]]
  assert tokenize_and_pad("Another example", num_words=1000, maxlen=5) == [[2, 3, 0, 0, 0]]
output: def tokenize_and_pad(text, num_words=1000, maxlen=5):
      from tensorflow.keras.preprocessing.text import Tokenizer
      from tensorflow.keras.preprocessing.sequence import pad_sequences
      
      tokenizer = Tokenizer(num_words=num_words)
      tokenizer.fit_on_texts([text])
      sequences = tokenizer.texts_to_sequences([text])
      padded_sequences = pad_sequences(sequences, maxlen=maxlen)
      
      return padded_sequences.tolist()