Tetris implementation with ncurses