input: Write a python function to generate sequences of a given length from a list of encoded text. 
  ```python
  def generate_sequences(encoded, sequence_length):
      sequences = []
      for i in range(sequence_length, len(encoded)):
          seq = encoded[i-sequence_length:i]
          sequences.append(seq)
      return sequences
  
  # Test cases
  assert generate_sequences([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 3) == [[1, 2, 3], [2, 3, 4], [3, 4, 5], [4, 5, 6], [5, 6, 7], [6, 7, 8], [7, 8, 9]]
  assert generate_sequences([1, 2, 3, 4, 5], 2) == [[1, 2], [2, 3], [3, 4], [4, 5]]
  assert generate_sequences([1, 2, 3, 4, 5, 6], 4) == [[1, 2, 3, 4], [2, 3, 4, 5], [3, 4, 5, 6]]
output: def generate_sequences(encoded, sequence_length):
      sequences = []
      for i in range(sequence_length, len(encoded) + 1):
          seq = encoded[i-sequence_length:i]
          sequences.append(seq)
      return sequences