World.py in kind of a pseudo code