We now have a working grid. Now to optimize and cleanup the code!