create morpion grid layout