first working version of date_diff.py