Resubmission of assignment 3.1

resubmission of assignment 3.1
Added verifyAge function and return function for isDead and isAlive.
i think you want `str.charAt(i) === char` here