make snake game end when hit itself