refactored by adding fill/drawRect() and used them
added more level code to populate the block array
refactored
cleaned up main
cleaned up