Adding grid template for words