input: Write a python function to create a list with the square of all the numbers from 0 to 10.
  assert generate_squares() == [0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
output: def generate_squares():
      return [x**2 for x in range(11)]