updates to assignments 2.2 and 3. Revised logic on Assignment 2, updated variables and isDead function on assignment 3