add xwindow and code to draw the state of the game
fix up the graphic display, DRY up by using getColor()
correctly determine the next block
update PDF