Added example code for asteroids (for later).