better docstrings for tiles.py