Refactored game grid creation

Moved all hard coded html into js function to draw the grid into the battlefield