implemented alien attack algo