greedy snake game on terminal.