first algo for morpion