Tetris game written in java (OOP)