http://zetcode.com/tutorials/javagamestutorial/tetris/