Added pydoc to terrain.py