Edit gitignore so that I can make sure the some of the files
generated by emacs are ignored. Also define a basic display
function for the grid.