added stitch.py

Added stitch. A little messy, but it works