Linux command line simple snake game