Create Dir-Xcan5.py

Complete re-write