Game of Tetris programmed in Java