A javascript function called aritGeo
that takes one argument, an Array.
You are required to check if the array passed as an argument is arithmetic, geometric, neither arithmetic nor geometric in progression or if the array is empty.
For arithmetic progressions, return Arithmetic For geometric progressions, return Geometric For neither of the above, return -1 For an empty array, return 0