Create Arith Geo

determines if an ordered array is arithmetic or geometric