a basic tetris in java