Fixed my algorithm

Found something wrong in my algorithm, I was changing the cells as I
went, opposed to changing them after the checking. Now it works 100%,
but still no display at the moment. I may add it later. The grid is now
22500 cell max with the ability to grow with a few integer changes.