create isAlive function
create test and pass for Tamagotchi death