simplify Asteroids solution