Close to complete, but output is not quite correct between out1.txt (myselection.py) and out2.txt (selection.py)