added lives checking and despawning enemies