Source code for the "Alien Invasion" problem