Add the inactive cell class
Place the game in the body instead of in another div
Restructure code, hold game variables in an array, and paint to grid