input: Write a python function to create an array of random integers with a specified length.
  assert len(populateArray(5)) == 5
  assert len(populateArray(10)) == 10
  assert all(1 <= x <= 100 for x in populateArray(15))
output: import random
  
  def populateArray(length):
      return [random.randint(1, 100) for _ in range(length)]