made enemies only move towards player if the player is within a certain distance
added damage and exits game when health = 0