die() method in snake object