Finding Greatest number in a sequence-Moi variant