First semi-working version of a Python XPS-program