added die function(fixed lives)