cleaning up the code

added methods for drawing the grid and blocks.
Jframe and lines are now global --- kinda sucks but whatever