Added  code to find which character is alive