basic tetris code written