Improved version: removed ugly base case
Saving
Working version but not quiet clean
non recursivepython ./solve.py ~/Downloads/jetstreams5.txt