documentation added to shape.py