added maxTriple in Array-1