populate grid

and a test method that shows how to access and manipulate pixels