cs3113 assignment 3 (space invaders)