Tetris game implemented in Java