Simple tetris written in C