Changed use w = world to use world as w

For asteroids example in response to breaking change of use syntax.