snake game code in c language