Tetris like in C language