input: Write a function to check if an array has an increasing pattern.
  assert increasingPattern([1, 2, 3, 4, 5, 6, 7, 8, 9])==True
  assert increasingPattern([2, 3, 4, 5, 6, 7, 8, 1])==False
  assert increasingPattern([1, 2, 2, 4, 5])==False
  assert increasingPattern([10, 20, 30, 40, 50])==True
output: def increasingPattern(arr):
      for i in range(1, len(arr)):
          if arr[i] <= arr[i-1]:
              return False
      return True