A small tetris game in java