Added function to later score each grid