Update example1.py
Update example2.arrows.py
Update example1.py
Update example3.collapse.py
Update example4.filesystem.py
Update example5.nested.py
fixed misplaced function def
fixed typo
Merge pull request #2 from AdotDdot/master

examples now quit on 'q'