Major refactor.
Changed multidimensional array-based world to list-based world.