Implementaçao do gridlayout