Classic snake game on linux terminal