The code puts symbol on a text grid at the specified x,y coordinates
Narrowing the problem to the following code makes it easier to get started.
So far there is only a tool to paint the picture, but that doesn't tell anything about the stucture beneath.