Add isDead() function to rat and player class to check if heath equals 0

- Instead of setting rats x and y to -1 when they die, make collision
  detection only work if isDead() returns false