Made printGrid function better

Made printGrid use strcpy to read each grid line into output string,
which is cleaner than whatever I had before. This also made it easier to
insert tabs on lines, so it is now simple to center the grid in the
console.

I lied about the last commit being the last, sue me.