Tetris clone written in Java