find the largest consequetive 3 terms in an array