Serious explanation of doubleWords.py