Simple C program (Snake without graphic)