refactoring plus adding logic to move aliens left and right