added slice3.py