A simple tetris game in java (swing interface)