Added collision detection for invader class