coding pratice : tetris game in Java