Use .world functions instead of copy-pasta in random_walk.
Add tests for wrap.
Merge pull request #3 from OddBloke/master

Use world's wrap in random_walk, and add tests for wrap.