First working draft of the space invaders example