Create doctest_v1.py

Have created a new file for this to avoid overwriting my more recent versions.