Java implementation of popular game Tetris